package com.xmut.entity;

import com.sirdc.modules.core.entity.LongEntity;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 *
 */
@Entity
@Table(name = "t_comment" )
public class Comment extends LongEntity{
    private static final long serialVersionUID = 5920832562311090239L;
    private Long topicId;//话题id
    private String comment;//评论内容
    private String userId;//用户id
    private Long commentId;//评论id
    private Integer floorNum;//楼层

    public Long getTopicId() {
        return topicId;
    }

    public void setTopicId(Long topicId) {
        this.topicId = topicId;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Long getCommentId() {
        return commentId;
    }

    public void setCommentId(Long commentId) {
        this.commentId = commentId;
    }

    public Integer getFloorNum() {
        return floorNum;
    }

    public void setFloorNum(Integer floorNum) {
        this.floorNum = floorNum;
    }
}
